home *** CD-ROM | disk | FTP | other *** search
- /*****************************************************************************
- FILE : ui_funcdispl.ph
- SHORTNAME : funcdispl
- SNNS VERSION : 3.2
-
- PURPOSE : Header file of correspondent '.c' file
- NOTES :
-
- AUTHOR : Guenter Mamier
- DATE : 14.01.92
-
- CHANGED BY : Sven Doering
- IDENTIFICATION : @(#)ui_funcdispl.ph 1.6 3/2/94
- SCCS VERSION : 1.6
- LAST CHANGE : 3/2/94
-
- Copyright (c) 1990-1994 SNNS Group, IPVR, Univ. Stuttgart, FRG
-
- ******************************************************************************/
-
-
- #ifndef _UI_FUNCDISPL_DEFINED_
- #define _UI_FUNCDISPL_DEFINED_
-
-
- /* begin global definition section */
-
- /* required functions that are declared here */
- void ui_functionPopup(Widget w, char *title, caddr_t call_data);
- void ui_drawFunction(Widget w, char *title, caddr_t call_data);
- Widget ui_createMyScreen(char *name, Widget parent, Dimension width, Dimension height, Widget left, Widget top);
-
- /* end global definition section */
-
- /* begin private definition section */
-
-
- typedef FlintType (*ActFunctionPtr) (struct Unit *);
- typedef FlintType (*OutFunctionPtr) (FlintType);
- /* Old Style : typedef FlintType (*FunctionPtr) (...); */
-
- static Widget displaywidget[6];
-
- typedef struct chain_el{
- FlintType weight;
- struct chain_el *next;
- }chain_el;
- static struct chain_el *weight_chain;
- static struct chain_el *handle;
-
-
- /* global variables for this file */
- static int FUNC_GRAPH_created[6];
- static int FUNC_GRAPH_win_ex[6];
- static int FUNC_GRAPH_case;
- static Widget FUNC_GRAPH_x_minW[6],FUNC_GRAPH_x_labW[6],FUNC_GRAPH_x_maxW[6];
- static Widget FUNC_GRAPH_y_minW[6],FUNC_GRAPH_y_labW[6],FUNC_GRAPH_y_maxW[6];
- static float FUNC_GRAPH_x_min[6],FUNC_GRAPH_x_max[6];
- static float FUNC_GRAPH_y_min[6],FUNC_GRAPH_y_max[6];
- static GC FUNC_GRAPH_gc[6]; /* local grapic context */
- static Window FUNC_GRAPH_window[6]; /* w. where func is drawn */
- static int FUNC_GRAPH_screen; /* screen for FUNC_GRAPH_window */
-
- static void ui_setXY(Widget w, caddr_t call_data);
- static void local_kill(Widget dummy, Widget w, caddr_t call_data);
- static void local_kill_prot(Widget dummy, int thiscase, caddr_t call_data);
-
- /* end private definition section */
-
-
- #endif
-
-